﻿using _1._8._2015_AuthExample.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace _1._8._2015_AuthExample.Adapters
{
    public class AddressMockAdapter : IAddressAdapter
    {
        public List<AddressViewModel> GetAddresses(string userId = null)
        {
            List<AddressViewModel> models = new List<AddressViewModel>();
            models.Add(new AddressViewModel
            {
                City = "houston",
                State = "tx",
                Name = "This is Mock",
                Street = "8888 Mock St.",
                Zip = "88888"
            });

            return models;
        }

        public void CreateAddress(CreateAddressViewModel model)
        {
            
        }

        public List<LookUpModel> HydrateUserLookUpModels()
        {
            return new List<LookUpModel>
            {
                new LookUpModel{
                    Display = "Mock Name",
                    Value = "whatever it doesn't matter"
                }
            };
        }

        public bool UpdateAddress(UpdateAddressViewModel model)
        {
            return true;
        }
    }
}